{% load my_tag %}
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">

    <title>TEST</title>

    <link rel="stylesheet" href="/static/font-awesome-4.7.0/css/font-awesome.css">

    <link href="/static/bootstrap-3.3.7/bootstrap-3.3.7-dist/css/bootstrap.css" rel="stylesheet">
    <link href="/static/datetimepicker/css/bootstrap-datetimepicker.css" rel="stylesheet">

    <link rel="stylesheet" href="/static/for_layout.css">
    <link rel="stylesheet" href="/static/my_css/rbac.css">

    {% block css %}{% endblock %}
</head>

<body>

<nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="container-fluid">
        <div class="navbar-header">
            <a class="navbar-brand" href="#">CRM</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
            <ul class="nav navbar-nav navbar-right">
                <li><a href="#">登录</a></li>
                <li><a href="#">设置</a></li>
                <li><a href="/logout/">Logout</a></li>
                <li><a href="#">帮助</a></li>
            </ul>
        </div>
    </div>
</nav>

<div class="pg-body">
    <div class="left-content">
        {% my_menu request %}
    </div>
    <div class="right-content">
        {% my_route request %}
        {% block content %}
            <h2>欢迎</h2>
        {% endblock %}
    </div>
</div>

<script src="/static/jquery-3.4.1.min.js"></script>

<script type="text/javascript" src="/static/datetimepicker/js/bootstrap-datetimepicker.js" charset="UTF-8"></script>
<script type="text/javascript" src="/static/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js"
        charset="UTF-8"></script>

<script src="/static/bootstrap-3.3.7/bootstrap-3.3.7-dist/js/bootstrap.js"></script>
<script src="/static/my_js/rbac.js"></script>
<script>
    $('.form_date').datetimepicker({
        minView: "month",
        language: "zh-CN",
        sideBySide: true,
        format: 'yyyy-mm-dd',
        bootcssVer: 3,
        startDate: new Date(),
        autoclose: true,
        pickerPosition: "bottom-left"
    });
</script>

{% block js %}{% endblock %}
</body>
</html>
